  var data = [{
      "title": "[暴打魏蜀吴]新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612510803256229057.html",
      "pic": "http://image.9game.cn/s/9game/g/2017/12/12/18828932.png",
      "peas": "  已有1人预订          ",
      "btn60green": "预约"
  }, {
      "title": "[暴打魏蜀吴]新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612510607294129252.html",
      "pic": "http://image.9game.cn/s/9game/g/2017/12/12/18828932.png",
      "peas": "  已有1人预订          ",
      "btn60green": "预约"
  }, {
      "title": "[奶牛镇的小时光]春节礼包",
      "title链接": "https://ka.9game.cn/personal/2612510528274884330.html",
      "pic": "http://image.9game.cn/s/9game/g/2021/2/3/210178969.png",
      "peas": "                              剩余                                                97%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[不思议地下城]公会礼包",
      "title链接": "https://ka.9game.cn/personal/2612510489265368543.html",
      "pic": "http://image.9game.cn/s/9game/g/2020/4/7/145130013.png",
      "peas": "                              剩余                                                100%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[伏龙]新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612510431279208542.html",
      "pic": "http://image.9game.cn/s/9game/g/2021/1/19/202735116.png",
      "peas": "  已有1人预订          ",
      "btn60green": "预约"
  }, {
      "title": "[城堡传说大乱斗]新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612510086294124031.html",
      "pic": "http://image.9game.cn/s/9game/g/2020/11/16/186238346.png",
      "peas": "  已有1人预订          ",
      "btn60green": "预约"
  }, {
      "title": "[小冰冰传奇]新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612505156279206666.html",
      "pic": "http://image.9game.cn/s/9game/g/2020/10/15/181503544.png",
      "peas": "  已有41人预订          ",
      "btn60green": "预约"
  }, {
      "title": "[三国志幻想大陆]金牛贺岁礼包",
      "title链接": "https://ka.9game.cn/personal/2612505143252341537.html",
      "pic": "http://image.9game.cn/s/9game/g/2021/2/2/209480974.png",
      "peas": "                              剩余                                                94%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[帝王三国2]帝王105区新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612493887256211340.html",
      "pic": "http://image.game.uc.cn/2016/2/1/12113345.png",
      "peas": "                              剩余                                                95%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[诸神的征伐]小年礼包",
      "title链接": "https://ka.9game.cn/personal/2612493756274844036.html",
      "pic": "http://image.9game.cn/s/9game/g/2020/9/4/173778926.png",
      "peas": "                              剩余                                                98%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[幻界传说]牛年特制礼包",
      "title链接": "https://ka.9game.cn/personal/2612491357294102087.html",
      "pic": "http://image.9game.cn/s/9game/g/2020/12/15/190878176.gif",
      "peas": "  已有0人预订          ",
      "btn60green": "预约"
  }, {
      "title": "[神陵武装]新手推广礼包",
      "title链接": "https://ka.9game.cn/personal/2612436874274828452.html",
      "pic": "http://image.9game.cn/s/9game/g/2021/2/2/209549270.png",
      "peas": "                              剩余                                                71%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[星界幻想]五福临门礼包",
      "title链接": "https://ka.9game.cn/personal/2612436823279265738.html",
      "pic": "http://image.9game.cn/s/9game/g/2021/1/26/206245142.png",
      "peas": "                              剩余                                                98%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[诛神乾坤]成长礼包",
      "title链接": "https://ka.9game.cn/personal/2612436811256281320.html",
      "pic": "http://image.9game.cn/s/9game/g/2020/12/16/191337055.png",
      "peas": "                              剩余                                                97%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[一剑仙侠]仙玉礼包2",
      "title链接": "https://ka.9game.cn/personal/2612436754265307092.html",
      "pic": "http://image.9game.cn/s/9game/g/2021/1/27/206772498.png",
      "peas": "                              剩余                                                96%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[斗法天地]新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612436746279253711.html",
      "pic": "http://image.9game.cn/s/9game/g/2021/2/1/209026030.gif",
      "peas": "                              剩余                                                99%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[上古修仙]新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612435955279253359.html",
      "pic": "http://image.9game.cn/s/9game/g/2021/1/29/207668225.png",
      "peas": "  已有19人预订          ",
      "btn60green": "预约"
  }, {
      "title": "[千秋辞]牛年新春礼包",
      "title链接": "https://ka.9game.cn/personal/2612418939256748075.html",
      "pic": "http://image.9game.cn/s/9game/g/2020/9/21/177474128.png",
      "peas": "                              剩余                                                89%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[武极天下]春节礼包",
      "title链接": "https://ka.9game.cn/personal/2612418675203595490.html",
      "pic": "http://image.9game.cn/s/9game/g/2020/12/1/187402580.png",
      "peas": "                              剩余                                                99%                                                                                                                                   ",
      "btn60green": "      领号       "
  }, {
      "title": "[塔塔帝国]新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612418468279245204.html",
      "pic": "http://image.9game.cn/s/9game/g/2020/7/30/169742768.gif",
      "peas": "  已有19人预订          ",
      "btn60green": "预约"
  }]
  var str = '';
  for (var i = 0; i < data.length; i++) {
      str += ` 
   <ul>  <li>
      <img src="${data[i].pic}" alt="">
    <p class="serc"><a href="">${data[i].title}   </a></p>
    <span>${data[i].peas}</span>
    <p class="aaa">${data[i].btn60green}</p>
</li></ul>`
  }
  var cleftcontent = document.querySelector('.cleftcontent');
  cleftcontent.innerHTML = str;
  var data2 = [{
      "title": "[葫芦娃]玩家礼包",
      "title链接": "https://ka.9game.cn/personal/2610440354252360533.html",
      "num": "1",
      "num1": ""
  }, {
      "title": "[神陵武装]新手推广礼包",
      "title链接": "https://ka.9game.cn/personal/2612436874274828452.html",
      "num": "2",
      "num1": ""
  }, {
      "title": "[神陵武装]新手大礼包",
      "title链接": "https://ka.9game.cn/personal/2612351548203508322.html",
      "num": "3",
      "num1": ""
  }, {
      "title": "[三国志幻想大陆]金牛贺岁礼包",
      "title链接": "https://ka.9game.cn/personal/2612505143252341537.html",
      "num": "4",
      "num1": "4"
  }, {
      "title": "[葫芦娃]特权礼包",
      "title链接": "https://ka.9game.cn/personal/2610440449252360590.html",
      "num": "5",
      "num1": "5"
  }, {
      "title": "[天谕]首充礼包",
      "title链接": "https://ka.9game.cn/personal/2612186567274816319.html",
      "num": "6",
      "num1": "6"
  }, {
      "title": "[天谕]春节礼包",
      "title链接": "https://ka.9game.cn/personal/2612354975288202587.html",
      "num": "7",
      "num1": "7"
  }, {
      "title": "[崩坏3]V4.6「唯我独尊」新版本礼包",
      "title链接": "https://ka.9game.cn/personal/2612340039252301911.html",
      "num": "8",
      "num1": "8"
  }, {
      "title": "[崩坏3]V4.6「唯我独尊」突击礼包",
      "title链接": "https://ka.9game.cn/personal/2612340069279202206.html",
      "num": "9",
      "num1": "9"
  }, {
      "title": "[天谕]新手礼包",
      "title链接": "https://ka.9game.cn/personal/2612354976274877230.html",
      "num": "10",
      "num1": "10"
  }, ]
  var crightb = document.querySelector('.cright-bottom ul')
var str2 = '';
for (var i = 0; i < data2.length; i++) {
    str2 += `<li>
<span>${data2[i].num}</span>
<a href="">${data2[i].title}</a>
<i class="lingg"></i>

</li>

`
}
crightb.innerHTML = str2;

var data3=[ {
    "title": "《忘川风华录》阶梯预约礼包",
    "title链接": "https://ka.9game.cn/personal/2609405664279223746.html",
    "num": "1",
    "num1": ""
}, {
    "title": "《镇魂街：武神躯》梯度预约礼包",
    "title链接": "https://ka.9game.cn/personal/2609393806256253808.html",
    "num": "2",
    "num1": ""
}, {
    "title": "[战神遗迹]公测预约礼包",
    "title链接": "https://ka.9game.cn/personal/2594037257261667214.html",
    "num": "3",
    "num1": ""
}, {
    "title": "[斗罗大陆2绝世唐门]公测预约礼包",
    "title链接": "https://ka.9game.cn/personal/2597127358294751720.html",
    "num": "4",
    "num1": "4"
}, {
    "title": "[部落战联盟]新手礼包",
    "title链接": "https://ka.9game.cn/personal/2612346630215904971.html",
    "num": "5",
    "num1": "5"
}, {
    "title": "[鬼泣-巅峰之战]九游公测预约礼包",
    "title链接": "https://ka.9game.cn/personal/2525849010200407273.html",
    "num": "6",
    "num1": "6"
}, {
    "title": "[部落战联盟]春节礼包",
    "title链接": "https://ka.9game.cn/personal/2612346648203506373.html",
    "num": "7",
    "num1": "7"
}, {
    "title": "[幻灵修仙传]预约礼包",
    "title链接": "https://ka.9game.cn/personal/2611919142279237440.html",
    "num": "8",
    "num1": "8"
}, {
    "title": "[300大作战]新春福利礼包",
    "title链接": "https://ka.9game.cn/personal/2611909099294105490.html",
    "num": "9",
    "num1": "9"
}, {
    "title": "[一剑仙侠]预约豪礼",
    "title链接": "https://ka.9game.cn/personal/2611919757256784279.html",
    "num": "10",
    "num1": "10"
}]
var crightbb = document.querySelector('.rb .cright-bottom ul')
var str3 = '';
for (var i = 0; i < data3.length; i++) {
    str3 += `<li>
<span>${data3[i].num}</span>
<a href="">${data3[i].title}</a>
<i class="yuding"></i>

</li>

`
}
crightbb.innerHTML = str3;